package com.easytouch.core.utils;

import android.os.Environment;

/**
 * SD卡相关工具类
 * Created by gulin on 2017/7/20.
 */

public class SDCardTools {
    public static boolean isSDCardIsReady() {
        return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
    }

    public static String getSDCardPath() {
        return Environment.getExternalStorageDirectory().getAbsolutePath();
        //return "/mnt/sdcard";
    }
}
